package com.vhuan.self_discipline_service.domain.user.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.vhuan.self_discipline_service.domain.AbstractFocusBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName("sys_user")  // 指定表名
public class UserEntity extends AbstractFocusBaseEntity {
    @Serial
    private static final long serialVersionUID = 1L;

    private String email;
    private String mobile;
    private String openid;

    @TableField(value = "nick_name")
    private String nickname;

    private int gender;
    private String avatar;
    private int status;

}
